/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved.                             */
/* Open Source Software - may be modified and shared by FRC teams. The code   */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project.                                                               */
/*----------------------------------------------------------------------------*/

package edu.wpi.first.wpilibj.templates;



import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.SimpleRobot;
import edu.wpi.first.wpilibj.Victor;



/**
 * The VM is configured to automatically run this class, and to call the
 * functions corresponding to each mode, as described in the SimpleRobot
 * documentation. If you change the name of this class or the package after
 * creating this project, you must also update the manifest file in the resource
 * directory.
 */
public class practiceRobot extends SimpleRobot {
    RobotDrive robotDrive;
    Joystick driveStick;
    Victor leftWheelFront, rightWheelFront, leftWheelBack, RightWheelBack;
    
    int leftWheelFrontPort = 1; //these are all ports on the digital sidecar
    int leftWheelBackPort = 2;
    int rightWheelFrontPort = 3;
    int rightWheelBackPort = 4;
    
    
    
    
    public void robotInit()
    {
        robotDrive = new RobotDrive(leftWheelFrontPort, rightWheelFrontPort, leftWheelBackPort, rightWheelBackPort);
        driveStick = new Joystick(1);
        
        
    }
    
    
    
    /**
     * This function is called once each time the robot enters autonomous mode.
     */
    public void autonomous() {
        
    }

    /**
     * This function is called once each time the robot enters operator control.
     */
    public void operatorControl() {

  robotDrive.arcadeDrive(driveStick);


    
    }
}

    
    
    
    
    
   

